@echo off
echo 正在启动智能工作日报系统...
echo.

echo 检查Python环境...
python --version
if errorlevel 1 (
    echo 错误：未找到Python环境，请先安装Python
    pause
    exit /b 1
)

echo.
echo 安装依赖包...
pip install -r requirements.txt

echo.
echo 启动服务器...
cd backend
python app.py

pause